.class Lcom/waiqin365/lightapp/view/photopreview/b;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPageScrollStateChanged(I)V
    .locals 0

    return-void
.end method

.method public onPageScrolled(IFI)V
    .locals 0

    return-void
.end method

.method public onPageSelected(I)V
    .locals 8

    const/16 v7, 0x21

    const/4 v6, 0x1

    const/4 v5, 0x0

    const/high16 v4, 0x41880000    # 17.0f

    add-int/lit8 v1, p1, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->a(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/photopreview/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/photopreview/a;->a()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string/jumbo v2, ""

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->a(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/photopreview/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/photopreview/a;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    new-instance v3, Landroid/text/SpannableString;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->a(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "   "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->a(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/photopreview/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/photopreview/a;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v3, v0}, Landroid/text/SpannableString;-><init>(Ljava/lang/CharSequence;)V

    invoke-static {v2, v3}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->a(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;Landroid/text/SpannableString;)Landroid/text/SpannableString;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->b(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Landroid/text/SpannableString;

    move-result-object v0

    new-instance v1, Landroid/text/style/AbsoluteSizeSpan;

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    invoke-direct {v1, v2}, Landroid/text/style/AbsoluteSizeSpan;-><init>(I)V

    invoke-virtual {v0, v1, v5, v6, v7}, Landroid/text/SpannableString;->setSpan(Ljava/lang/Object;III)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->c(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Landroid/widget/TextView;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->b(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Landroid/text/SpannableString;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    new-instance v2, Landroid/text/SpannableString;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, "/"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->a(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v2, v1}, Landroid/text/SpannableString;-><init>(Ljava/lang/CharSequence;)V

    invoke-static {v0, v2}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->a(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;Landroid/text/SpannableString;)Landroid/text/SpannableString;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->b(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Landroid/text/SpannableString;

    move-result-object v0

    new-instance v1, Landroid/text/style/AbsoluteSizeSpan;

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    invoke-direct {v1, v2}, Landroid/text/style/AbsoluteSizeSpan;-><init>(I)V

    invoke-virtual {v0, v1, v5, v6, v7}, Landroid/text/SpannableString;->setSpan(Ljava/lang/Object;III)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->c(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Landroid/widget/TextView;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/photopreview/b;->a:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;->b(Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewActivity;)Landroid/text/SpannableString;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method
